package com.itheima.test;

public class text {
    public static void main(String[] args) {
        String s = "sad";
        int i = s.lastIndexOf(1);
        System.out.println(i);
    }
}
